const sqlite3 = require('sqlite3').verbose();

let db = new sqlite3.Database('fileManagement.db', (err) => {
  if (err) {
    console.error(err.message);
    throw err;
  }
  console.log('Connected to the SQLite database.');
});

const query = 'SELECT * FROM users';
db.all(query, [], (err, rows) => {
  if (err) {
    console.error(err.message);
    return;
  }
  console.log('Users Table:', rows);
  db.close();
});